-- GENERATED SPELL FOR [Marshrock Threshalisk] --


function spell0_19706(pUnit, Event) --@Threshalisk Charge,n/a--
pUnit:FullCastSpellOnTarget(35385,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19706', 540, 1)
end

function Sorts_19706(pUnit, Event)
local choix_sorts_19706 = math.random(0, 0)
if choix_sorts_19706 == 0 then
pUnit:RegisterEvent('spell0_19706', 1, 1)
end
end

function mob19706_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19706', math.random(1500, 3000), 1)
end

function mob19706_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19706_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19706_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19706, 1, 'mob19706_Action')
RegisterUnitEvent(19706, 2, 'mob19706_Leave')
RegisterUnitEvent(19706, 3, 'mob19706_Kill')
RegisterUnitEvent(19706, 4, 'mob19706_Die')
